//
// Created by daybeha on 23-11-21.
//

#include <iostream>

#include "image_node.h"

using namespace std;


int main(int argc, char **argv) {
    rclcpp::init(argc, argv);
//    rclcpp::NodeOptions options;
//    rclcpp::Node::SharedPtr node = rclcpp::Node::make_shared("image_listener", options);
    auto node = std::make_shared<image_node>();

    cv::namedWindow("view_l");
    cv::namedWindow("view_r");
    cv::startWindowThread();



    rclcpp::spin(node);
    cv::destroyWindow("view");

    return 0;
}
